package cn.stylefeng.guns.modular.system.model;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author liyong
 * @since 2019-11-28
 */
@TableName("game_tag")
public class GameTag extends Model<GameTag> {

    private static final long serialVersionUID = 1L;

    /**
     * 游戏标签库
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("tag_name")
    private String tagName;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTagName() {
        return tagName;
    }

    public void setTagName(String tagName) {
        this.tagName = tagName;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "GameTag{" +
        ", id=" + id +
        ", tagName=" + tagName +
        "}";
    }
}
